package com.syty.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syty.demo.domain.User;
import com.syty.demo.form.LoginForm;
import com.syty.demo.form.RegisterForm;
import com.syty.demo.form.RemakeForm;
import com.syty.demo.result.ResultSet;
import org.springframework.stereotype.Service;

//@Service
public interface UserService {
    public ResultSet login(LoginForm loginForm);
    public ResultSet register(RegisterForm registerForm);
    public ResultSet remake(RemakeForm remakeForm);
    public User findUserByUsername(String username);
    public String findRoleByUsername(String username);
//    public Integer setStatusByUsernames(String username,int num);
}
